package com.gqz.equip.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "EnStockGisVo", description = "能源-Gis")
public class EnStockGisVo {
    @SchemaProperty(name = "用户编码")
    private String yhid;

    @SchemaProperty(name = "macId")
    private String macId;

    @SchemaProperty(name = "时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "sj", format = "yyyy-MM-dd HH:mm:ss")
    private Date sj;

    @SchemaProperty(name = "坐标")
    private String zb;

    @SchemaProperty(name = "ZB_GIS")
    private String zbGis;

}
